package com.zzptc.mzb.myapplication.service;

import com.zzptc.mzb.myapplication.entity.Qichepingbai;
import com.zzptc.mzb.myapplication.entity.Shiping;

import java.util.Map;

import retrofit2.Call;
import retrofit2.http.Field;
import retrofit2.http.FieldMap;
import retrofit2.http.FormUrlEncoded;
import retrofit2.http.POST;

public interface ShipingService {
    @FormUrlEncoded
    @POST("cook/query")
            //("menu") String menu, @Field("key")String key, @Field("dtype")String dtype, @Field("rn")String rn, @Field("pn")String pn
    //http://apis.juhe.cn/cook/query?key=c56bf09771912dc1c36f758f04a67c1b&menu=%E8%A5%BF%E7%BA%A2%E6%9F%BF&rn=10&pn=3
    Call<Shiping> getAllShiping(@Field("key")String key,@Field("menu")String menu,@Field("rn") String rn,@Field("pn") String pn);
}

